<link rel="stylesheet" href="./css/new_address.css">
<div class="content">
    <div class="business_info">
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">收件人<span style="color:#e42121">*</span></span>
            <div class="col-xs-7">
                <input type="text" ng-model="address.contactName">
            </div>
        </div>
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">联系电话<span style="color:#e42121">*</span></span>
            <div class="col-xs-7">
                <input type="text" ng-model="address.mobile" maxlength="11">
            </div>
        </div>
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">收货省份<span style="color:#e42121">*</span></span>
            <span>{{myProvince}}</span>
            <div class="pull-right dropdown">
                <div data-toggle="dropdown" style="width: 100px;height: 22px;display: inline-block"></div>
                <i class="iconfont arrow_down dropdown-toggle" data-toggle="dropdown">&#xe621;</i>
                <ul class="dropdown-menu" role="menu" style="height: 200px;overflow: scroll">
                    <li role="presentation" ng-repeat="v in province"><a role="menuitem" tabindex="-1"
                                                                         ng-click="select_province(v.name,v.code)">{{v.name}}</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">收货城市<span style="color:#e42121">*</span></span>
            <span>{{myCity}}</span>
            <div class="pull-right dropdown">
                <div data-toggle="dropdown" style="width: 100px;height: 22px;display: inline-block"></div>
                <i class="iconfont arrow_down dropdown-toggle" data-toggle="dropdown">&#xe621;</i>
                <ul class="dropdown-menu" role="menu" style="height: 200px;overflow: scroll">
                    <li role="presentation" ng-repeat="v in city"><a role="menuitem" tabindex="-1"
                                                                     ng-click="select_city(v.name,v.code)">{{v.name}}</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">收货区县<span style="color:#e42121">*</span></span>
            <span>{{myArea}}</span>
            <div class="pull-right dropdown">
                <div data-toggle="dropdown" style="width: 100px;height: 22px;display: inline-block"></div>
                <i class="iconfont arrow_down dropdown-toggle" data-toggle="dropdown">&#xe621;</i>
                <ul class="dropdown-menu" role="menu" style="height: 200px;overflow: scroll">
                    <li role="presentation" ng-repeat="v in area"><a role="menuitem" tabindex="-1"
                                                                     ng-click="select_area(v.name)">{{v.name}}</a></li>
                </ul>
            </div>
        </div>
        <div class="row" style="padding: 15px 10px">
            <span class="col-xs-3">详细地址<span style="color:#e42121">*</span></span>
            <div class="col-xs-7">
                <input type="text" ng-model="address.address" maxlength="40">
            </div>
        </div>
        <p class="cut_line"></p>
        <div class="row isDefaultAddress" style="padding: 12px 10px">
            <i class="iconfont default">&#xe615;</i>
            <span style="width: auto;">设为默认地址</span>
        </div>
    </div>

    <div class="submit_btn">
        <button class="btn btn-danger btn-block" ng-click="submit(address)">保存地址</button>
    </div>
</div>


